﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Panel.Master" Inherits="System.Web.Mvc.ViewPage<Prodma.DataAccess.Models.ViewModels.PagedObject<Prodma.DataAccess.Models.ViewModels.UrunlerVm>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<div class="productsContainer">

    <%foreach (Prodma.DataAccess.Models.ViewModels.UrunlerVm urun in ViewData.Model) %>
      <%{%>
    <div class="productContainer">
        <div class="productPhoto">
            <img src="<%=urun.FotoURL %>"/>
        </div>
        <div class="productName"><%=urun.UrunAdi %></div>
        <div class="productPrice"><%=urun.Fiyat %></div>    
    </div>
    <%} %>
    
</div>

</asp:Content>
